//
//  YTBreakRecordViewCell.m
//  YiTuDriverClient
//
//  Created by 石少庸 on 2017/5/19.
//  Copyright © 2017年 Yitu. All rights reserved.
//

#import "YTBreakRecordViewCell.h"
#import "YTDriverBreakModel.h"

@interface YTBreakRecordViewCell ()

@property (weak, nonatomic) IBOutlet UILabel *contentText;
@property (weak, nonatomic) IBOutlet UILabel *timeText;
@property (weak, nonatomic) IBOutlet UILabel *orderIDText;
@property (weak, nonatomic) IBOutlet UILabel *breakDesText;
@property (weak, nonatomic) IBOutlet UILabel *breakType;

@end

@implementation YTBreakRecordViewCell

- (void)setModel:(YTDriverBreakModel *)model {
    _model = model;
    _timeText.text = model.addTime;
    _orderIDText.text = model.orderId;
    _breakType.text = model.seriousTitle;
    _contentText.text = model.title;
    _breakDesText.text = model.misdeedTypeName;
}

@end
